package com.gator.desig_mode.factory;




/**
 * @author 何章怀晓 hezhanghuaixiao
 * @version V1.0
 * @desc
 */
public class Test {

  public static void main(String[] args) {

    SimpleFactory simpleFactory = new SimpleFactory();
    Base a = simpleFactory.createCar("a");
    a.start();
    Base b = simpleFactory.createCar("b");
    b.start();
    Base c = simpleFactory.createCar("c");
    c.start();

  }

}
